<template>
  <div id="app">
    <router-view/>
	<FootTabs></FootTabs>
  </div>
</template>
<script>
		import FootTabs from "@/components/tab.vue"
		
	export default{
		components:{
			FootTabs
		},
		methods:{
			
		},
		watch:{
			'$route.path'(to,from){
				if(to=='/sort'||to=='/'||to=='/cart'||to=='/mine'){
					this.$store.commit('setHeader',true);
					
				}else{
					
					this.$store.commit('setHeader',false);
				}
			}
		}
	}
</script>
<style lang="less">
@import url('http://at.alicdn.com/t/font_1896513_talh5sgx51.css');
// 阿里字体图标设置
.icon, .iconfont {
  font-family:"iconfont" !important;
  font-size:16px;
  font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
.van-swipe-item img{
	width: 100%;
	height: 100%;
}
</style>
